/* 
 * File:   ConstantTypeParameterMemento.cpp
 * Author: Gab'z
 * 
 * Created on 29 mai 2012, 10:56
 */

#include "ConstantTypeParameterMemento.h"
#include "../command/UndoableRedoableCommand.h"

namespace calculator {

    ConstantTypeParameterMemento::ConstantTypeParameterMemento(
            UndoableRedoableCommand* undoableRedoableCommand,
            Parameters::ConstantType constantType) :
    Memento(undoableRedoableCommand),
    _constantType(_constantType) {
    }

    ConstantTypeParameterMemento::ConstantTypeParameterMemento(const ConstantTypeParameterMemento& memento) :
    Memento(memento._undoableRedoableCommand),
    _constantType(memento._constantType) {
    }

    ConstantTypeParameterMemento::~ConstantTypeParameterMemento() {
    }
}
